package com.zhentao.dating.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName ap_social_circle
 */
@ApiModel(description = "")
@TableName(value ="ap_social_circle")
@Data
public class ApSocialCircle implements Serializable {
    /**
     * 动态文章编号
     */
    @ApiModelProperty(value = "动态文章编号", position = 1)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发布者编号
     */
    @ApiModelProperty(value = "发布者编号", position = 2)
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 发布时间
     */
    @ApiModelProperty(value = "发布时间", position = 3)
    @TableField(value = "posting_time")
    private Date postingTime;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", position = 4)
    @TableField(value = "title")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容", position = 5)
    @TableField(value = "content")
    private String content;

    /**
     * 图片url, 使用逗号分隔
     */
    @ApiModelProperty(value = "图片url, 使用逗号分隔", position = 6)
    @TableField(value = "image_urls")
    private String imageUrls;

    /**
     * 0=待审核,1=已发布,2=被删除
     */
    @ApiModelProperty(value = "0=待审核,1=已发布,2=被删除", position = 7)
    @TableField(value = "status")
    private Integer status;

    /**
     * 点赞数
     */
    @ApiModelProperty(value = "点赞数", position = 8)
    @TableField(value = "like_count")
    private Integer likeCount;

    /**
     * 评论数
     */
    @ApiModelProperty(value = "阅读数", position = 9)
    @TableField(value = "read_count")
    private Integer readCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}